package com.txts.road.app.track.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.txts.road.app.track.model.entity.TrackRecordEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.txts.road.app.track.model.query.TrackRecordQuery;
import com.txts.road.app.track.model.vo.TrackRecordVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 轨迹记录Mapper接口
 *
 * @author baoyr
 * @since 2025-07-17 10:43
 */
@Mapper
public interface TrackRecordMapper extends BaseMapper<TrackRecordEntity> {

    /**
     * 获取轨迹记录分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<TrackRecordVO>} 轨迹记录分页列表
     */
    Page<TrackRecordVO> getTrackRecordPage(Page<TrackRecordVO> page, TrackRecordQuery queryParams);

}
